
/**
 * get
 */
router.get('/home', async function (ctx, next) {
    const query = ctx.request.query
    console.log('参数：', query);
    const result = []
    ctx.body = respondOk(result)
})


/**
 * delete
 */
router.delete('/projects', async function (ctx, next) {
    const query = ctx.request.query
    console.log('参数：', query);
    ctx.body = respondOk()
})

/**
 * put
 */
router.put('/projects/status', async function (ctx, next) {
    const body = ctx.request.body
    console.log('参数：', body);
    ctx.body = respondOk()
})

/**
 * post
 */
router.post('/projects/create', async function (ctx, next) {
    const body = ctx.request.body
    console.log('参数：', body);
    ctx.body = respondOk()
})
